package com.ssmdemo.service;

import com.baomidou.mybatisplus.service.IService;
import com.ssmdemo.pojo.MenuEntity;

import java.util.List;
import java.util.Map;

public interface MenuService extends IService<MenuEntity>  {

    List<MenuEntity> getMenuListByParentId(Integer id);
    int insertMenu(MenuEntity menuEntity);
    int updateMenu(MenuEntity menuEntity);
    List<Map<String,Object>> getAuthorizationMenuListByRoleId(Integer roleId);
}
